<template>
    <!-- 待处理事项模块-差错列表 -->
    <div class="fillcontain">

        <div class="contain">
        </div>
    </div>
</template>

<script>
    import {mapGetters} from 'vuex'
    import constant from '@/utils/constant';
    import {getCdfsAuthCode} from "@/api/taskCenter/taskCommon";
    import appName from "@/api/appName.js";
    //import {addRemark, deleteRemark} from "../../api/taskCenter/taskCommon";

    export default {
        name: "error-info-list",
        data() {
            return {
                // 查询条件
                direction: 'rtl',
                src:"",
                tableData: [],
                loading: false,
                pickerOptions1: {
                    disabledDate(time) {
                        return time.getTime() > Date.now();
                    }
                }
            }
        },
        created() {
        },
        mounted() {
        },
        methods: {
            // handleClose(done) {
            //     this.$emit('close', this.drawer);
            // },
            // 综合查询列表
            getList() {
                getCdfsAuthCode().then(res => {
                    if (res.resultCode == constant.SUCCESS && res.data) {
                        // this.src = appName.CITICGIS+`/NewPolicyReview?authCode=${res.data.authCode}&loginUserId=CHN0001318`;
                        this.src = appName.CITICGIS+`/NewPolicyReview?authCode=${res.data.authCode}&loginUserId=${res.data.userId}`;
                        window.open(this.src,'_blank')
                    }else {
                        this.$message.error(res.resultMsg);
                    }
                }).catch(error => {
                    this.$message.error("获取CDFS差错登记出错");
                });
            },
            test() {
                console.log("test")
            }
        },
        watch: {
        },
        computed: {
            ...mapGetters(['tags']),

        },
        activated() {
            // this.getList();
            // if (this.reload) {
            //     this.$store.dispatch('loading/CHNAGE_RELOAD', false)
            //     Object.assign(this.$data, this.$options.data());
            // }
        }
    }
</script>

<style lang="less" scoped>
    .fillcontain {
        padding-bottom: 0;
    }

    .contain {
        background: #fff;
        padding: 10px;
        margin-bottom: 20px;
    }

    .pagination {
        padding: 10px 20px;
        text-align: right;
    }

    .operationIcon {
        // padding: 12px;
        border: 1px solid #e5e5e5;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: inline-block;
        cursor: pointer;
        box-shadow: 0 0 3px #f9f9f9;

        .svg-icon {
            font-size: 14px;
            fill: #68a3fc;
        }
    }

    .search_container {
        padding: 20px 20px 0 20px;
        border-top: 1px solid #e1e1e1;
    }
</style>



